package classtst_domain;

/**
 * @version 1.0
 * @auther liquan
 * @date 2025/3/17 18:45
 * @description
 */
public class Phone1 {
    // 成员变量
    public String brand = "小米";
    public int price = 3998;
    public String color = "黑色";
    // 行为
    public void call(){
        System.out.println("正在使用价格为" + price + "元" + color + "的" + brand + "手机打电话...." );
    }
    public void sendMessage(){
        System.out.println("正在使用价格为" + price + "元" + color + "的" + brand + "手机发短信...." );
    }
}
